
package com.flower.subject.domain.convent;

import com.flower.subject.domain.entity.SubjectAnswerBO;
import com.flower.subject.domain.entity.SubjectOptionBO;
import com.flower.subject.infra.basic.entity.SubjectJudge;
import com.flower.subject.infra.basic.entity.SubjectMultiple;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

/**
 * @author lavender
 * @version 1.0
 * @date 2024-07-03 11:34
 */
@Mapper
public interface JudgeSubjectConverter {
    JudgeSubjectConverter INSTANT = Mappers.getMapper(JudgeSubjectConverter.class);

    SubjectJudge convertBoToEntity(SubjectAnswerBO subjectAnswerBO);

//    SubjectOptionBO covertBoToBOList(List<SubjectJudge> subjectJudges);

    List<SubjectAnswerBO> covertAnswerBoToBOList(List<SubjectJudge> subjectJudges);

}
